package com.springboot.bigevent.mapper;

import com.springboot.bigevent.pojo.Article;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ArticleMapper {
    void add(Article article);

    List<Article> list(Integer userId, String categoryId, String state);

    void delete(String id);
}
